.box {
    /* 分布式布局 */
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: linear-gradient(to right, #3e9597, #214c52);
    /* background-image: linear-gradient(to right, #2a5caa, #224b8f); */
}

/* 登录、注册外div公用样式 */
.login,
.register {
    width: 90%;
    height: 90%;
    background-color: white;
    border-radius: 0.5rem;
    padding-bottom: .5rem;
}

/* 登录、注册顶部div共同样式 */
.login_top,
.register_top {
    width: 100%;
    height: 40%;
    color: white;
    border-radius: 0.5rem 0.5rem 0 0;
    text-align: center;
    box-sizing: border-box;
    padding-top: 10%;
}

.login_top {
    background: #214c52;
    /* background: #2a5caa; */
}

.register_top {
    background: #3e9597;
}


.login_top div,
.register_top div {
    width: 6rem;
    height: 6rem;
    background: white;
    border-radius: 50%;
    color: silver;
    font-size: 4rem;
    margin: 0 auto;

    display: flex;
    justify-content: center;
    align-items: center;
}

.login_top h2,
.register_top h2 {
    margin-top: .5rem;
    font-size: 1rem;
    font-family: 'KaiTi';
}

.login_bottom,
.register_bottom {
    text-align: center;

}

/* 登录、注册表单共同样式 */
.login_bottom .input,
.register_bottom .input {
    box-sizing: border-box;
    width: 90%;
    height: 2rem;
    margin-top: 1rem;
    padding-left: 0.6rem;
    border-radius: 0.6rem;
    border: 0.1rem solid silver;
    /* 去除表单点击后出现的边框 */
    outline: none;
    color: rgb(107, 107, 107);
    font-size: 1rem;
}

.login_bottom p,
.register_bottom p {
    font-size: 0.8rem;
    margin-top: 1rem;
}

/* 使复选框与后面文字水平对齐 */
.login_bottom p input {
    vertical-align: middle;
    /* vertical 垂直的  middle 中间 */
}

.login_bottom p span,
.register_bottom p span {
    margin-right: 0.5rem;
    color: #757575;
}

.login_bottom p a,
.register_bottom p a {
    color: #214c52;
}

/* 验证码 */
.register_bottom>form{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.register_bottom .AutoCode {
    width: 90%;
    height: 2rem;
    margin-top: 1rem;
    position: relative;
}
.register_bottom .AutoCode>input{
    width: 100%;
    height: 100%;
    margin: 0;
}
.register_bottom .AutoCode>.register_bottomGetAutoCode{
    display: block;
    text-align: center;
    padding-left: 10px;
    position: absolute;
    top: 25%;
    right: 5%;
    color: red;
    border-left: solid 2px #eeeeee;
}
.register_bottom .AutoCode>span{
    color: gray !important;
}


/* 登录、注册按钮共同样式 */
.login_bottom button,
.register_bottom button {
    width: 95%;
    height: 2.8rem;
    color: white;
    margin-top: 1rem;
    border-radius: 0.6rem;
    border: none;
}

.login_bottom button {
    background: #214c52;
}

.register_bottom button {
    background: #3e9597;
}

/* 鼠标滑过按钮出现阴影效果 */
.login_bottom button:active,
.register_bottom button:active {
    box-shadow: 0.2rem 0.2rem 0 rgba(0, 0, 0, 0.3);
}

/* 其他第三方登录 */
.login_bottom .threeText {
    display: flex;
    align-items: center;
    justify-content: center;
}

.login_bottom .threeText .other {
    position: relative;
    padding: 0 .5rem;
}

.login_bottom .other::after {
    display: block;
    position: absolute;
    content: '';
    border: .005rem solid silver;
    width: 80%;
    height: .005rem;
    background-color: silver;
    left: -80%;
    top: 50%;
    transform: translateY(-50%);
}

.login_bottom .other::before {
    display: block;
    position: absolute;
    content: '';
    border: .005rem solid silver;
    width: 80%;
    height: .005rem;
    background-color: silver;
    right: -80%;
    top: 50%;
    transform: translateY(-50%);
}

/* 图片与文字 */
.login_bottom .threeLogin {
    margin-top: 1rem;
}

.login_bottom .threeLogin i {
    font-size: .8rem;
    color: silver;
    display: inline-block;
    width: 4.5rem;
    height: 1.5rem;
    /* position: relative; */

}

.login_bottom .threeLogin i img {
    height: 1rem;
    vertical-align: middle;
}

.login_bottom .threeLogin i>span {
    color: black;
    font-size: .7rem;
    margin-left: .25rem;
}